execute on target run tag @s add spotted 
    tag @s add shooting 
    playsound entity.warden.sonic_boom master @a ~ ~ ~ 3.0 1.0
    execute anchored eyes facing entity @n[tag=spotted] eyes positioned ^ ^ ^ run function ew:elder_warden/sonic_loop












tag @n[tag=spotted] remove spotted
tag @s remove shooting